package com.nativetalk.bean.teacher;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * TdNtTeacher entity. @author MyEclipse Persistence Tools
 */

public class TdNtTeacherState implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private int tea_id;
	@NotNull(message = "{TEACHER.STATE.REGEXP}")
	@Pattern(regexp = "^[01]$", message = "{TEACHER.STATE.REGEXP")
	private String state;//0在线 2忙碌 1离线
	private int state_order;//状态排序 0在线 1忙碌 2离线

	public int getState_order() {
		return state_order;
	}

	public void setState_order(int state_order) {
		this.state_order = state_order;
	}

	public void setTea_id(int tea_id) {
		this.tea_id = tea_id;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getTea_id() {
		return tea_id;
	}

	public String getState() {
		return state;
	}
}